/*    */ package server.movement;
/*    */ 
/*    */ import java.awt.Point;
/*    */ import tools.data.output.MaplePacketLittleEndianWriter;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class StaticLifeMovement
/*    */   extends AbstractLifeMovement
/*    */ {
/*    */   private Point pixelsPerSecond;
/*    */   private int newfh;
/*    */   private byte end;
/*    */   
/*    */   public StaticLifeMovement(int type, Point position, int duration, int newstate) {
/* 21 */     super(type, position, duration, newstate);
/*    */   }
/*    */   
/*    */   public Point getPixelsPerSecond() {
/* 25 */     return this.pixelsPerSecond;
/*    */   }
/*    */   
/*    */   public void setPixelsPerSecond(Point wobble) {
/* 29 */     this.pixelsPerSecond = wobble;
/*    */   }
/*    */   
/*    */   public int getNewFH() {
/* 33 */     return this.newfh;
/*    */   }
/*    */   
/*    */   public void setNewFH(short fh) {
/* 37 */     this.newfh = fh;
/*    */   }
/*    */   
/*    */   public void defaulted() {
/* 41 */     this.newfh = 0;
/* 42 */     this.pixelsPerSecond = new Point(0, 0);
/*    */   }
/*    */   
/*    */   public void setEnd(byte end) {
/* 46 */     this.end = end;
/*    */   }
/*    */ 
/*    */   
/*    */   public void serialize(MaplePacketLittleEndianWriter lew) {
/* 51 */     lew.write(getType());
/* 52 */     lew.writePos(getPosition());
/* 53 */     lew.writePos(this.pixelsPerSecond);
/* 54 */     lew.writeShort(this.newfh);
/* 55 */     lew.write(getNewstate());
/* 56 */     lew.writeShort(getDuration());
/* 57 */     lew.write(this.end);
/*    */   }
/*    */ }


/* Location:              C:\PGX\Server.jar!\server\movement\StaticLifeMovement.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */